package com.infolab.aims.domain;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.infolab.aims.common.SpecialToStringStyle;
import com.infolab.aims.common.bean.AbstractModelBean;

@Entity
@Table(name="AMTB_SYSTEM_ACCESSRIGHT")
public class SystemAccessRight extends AbstractModelBean implements Serializable {
	
	@Id
	private String accessRightId;
	
	private String accessRightName;
	
	private Integer accessRightOrder;
	
	public String getAccessRightId() {
		return accessRightId;
	}
	public void setAccessRightId(String accessRightId) {
		this.accessRightId = accessRightId;
	}
	public String getAccessRightName() {
		return accessRightName;
	}
	public void setAccessRightName(String accessRightName) {
		this.accessRightName = accessRightName;
	}
	public Integer getAccessRightOrder() {
		return accessRightOrder;
	}
	public void setAccessRightOrder(Integer accessRightOrder) {
		this.accessRightOrder = accessRightOrder;
	}
	
	public String getAuditContentHead()
	{
		
		return new ToStringBuilder(this,SpecialToStringStyle.SPECIAL_STYLE)
			.append("Access Right Name",accessRightName)
			.toString();
	}
	
	
	
}

